Simple MPEC mpec NLPEC GAMS short Simple MPEC example with one upper and one lower level variable Solution has x=2, y=1 with obj = 0.